new Vue({
    el: '#app',
    data: function () {
        return {
            table: {
                data: [
                    {
                        id: 1,
                        date: "2016-05-04",
                        name: "王小虎1",
                        address: "上海市普陀区金沙江路 1518 弄"
                    },
                    {
                        id: 2,
                        date: "2016-05-04",
                        name: "王小虎2",
                        address: "上海市普陀区金沙江路 1517 弄"
                    },
                    {
                        id: 3,
                        date: "2016-05-01",
                        name: "王小虎3",
                        address: "上海市普陀区金沙江路 1519 弄"
                    },
                    {
                        id: 4,
                        date: "2016-05-03",
                        name: "王小虎4",
                        address: "上海市普陀区金沙江路 1516 弄"
                    }
                ],
                columns: [
                    {
                        title: "时间",
                        key: "date",
                        width: 250
                    },
                    {
                        title: "名字",
                        key: "name"
                    },
                    {
                        title: "地址",
                        key: "address"
                    }
                ],
                total: 500,
                index: ""
            }
        }
    },
    methods: {
        // 改变了分页
        handlePagination(val) {
            console.log(val);
        }
    },
    created() {

    }
})